<template>
  <div>
    <button @click="showThis">查看this</button>
    <Header/>
    <p v-red>计数器{{count |addEnd}}</p>
  </div>
</template>

<script>
export default {
name:'App',
data(){
  return{
    count:0
  }
},
methods: {
  showThis(){
    console.log(this);
    console.log(this.a);
  }
},
}
</script>

<style>

</style>